import type {Model} from "../../../../../framework/model/Model.ts";
import type {Loader} from "../../../../../framework/Loder.ts";
import type {World} from "../../../../../framework/World.ts";
import {getLoadListener} from "../../process.ts";
import {modelList} from "../../resources.ts";

export const registerModels = (): Model[] => {
    return modelList
}

export const onLoadModels = (loader: Loader, world: World) => {
    let listener = getLoadListener()
    listener(loader, world)
}
